* {
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
}

*::after {
  box-sizing: border-box;
}

*::before {
  box-sizing: border-box;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

input {
  font: inherit;
}

body {
  font-size: 12px;
  line-height: 1.5;
}


/* layout */

.page {
  display: flex;
  height: calc(100vh - 76px);
}

.page>aside {
  width: 200px;
}

.page>main {
  flex-grow: 1;
  padding-left: 20px;
}

/* aside */
.page>aside {
  display: flex;
  flex-direction: column;
}

.newSong,
.playList,
.createPlaylist {
  cursor: pointer;
  text-align: center;
  padding: 10px;
}

.newSong.active,
.playList.active,
.createPlaylist.active,
.songPlayList.active {
  background: #d4d4d4;
}


#songList-container,
#playList-container,
#playList-container-copy {
  display: none;
  flex-grow: 1;
}

#songList-container.active,
#playList-container.active,
#playList-container-copy.active {
  display: block;
}


.songList,
.songPlayList {
  text-align: left;
  border-top: 1px solid #999;
}

.songList>li,
.songPlayList>li {
  border-bottom: 1px solid #ddd;
  padding: 10px;
}

.songList>li.active,
.songPlayList>li.active {
  background: #d4d4d4;
  border-left: 2px solid #D43C33;
}

.uploadArea {}

.draggable {
  text-align: center;
  padding: 20px;
  border-radius: 4px;
  border: 2px dashed #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  flex-direction: column;
}

.clickable {
  cursor: pointer;
}

/* main */

.page>main {
  background: #d4d4d4;
}

.songform,
.playlistForm {
  font-size: 14px;
}

.songform>.row,
.playlistForm>.row {
  margin: 20px 0;
  display: flex;
}

.songform>.row>label,
.playlistForm>.row>label {
  width: 4em;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-right: 5px;
}

.songform>.row.actions,
.playlistForm>.row.actions {
  margin-left: calc(4em + 5px);
}

.songform input[type=text] .playlistForm input[type=text] {
  padding: 3px 8px;
  border-radius: 5px;
  border: 1px solid #ddd;
  height: 30px;
}

.songform input[type=button],
.songform input[type=submit],
.songform button,
.playlistForm input[type=button],
.playlistForm input[type=submit],
.playlistForm button {
  height: 30px;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 5px;
  color: #ffffff;
  background-color: #337AB7;
  border:1px solid transparent;
}

.page>main {
  padding-top: 20px;
}

.page>main>.songform {}

/* loading */

.wrapper {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  justify-content: center;
  align-items: center;
  visibility: hidden;
}

.wrapper.active {
  visibility: visible;
}

.loading {
  height: 200px;
  width: 200px;
  position: relative;
}

.loading::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  height: 0px;
  width: 0px;
  border-radius: 50%;
  background: black;
  animation: loading 1.5s linear infinite;
  animation-direction: alternate-reverse;
}

.loading::after {
  animation-delay: 0.75s;
}

@keyframes loading {
  0% {
    width: 0px;
    height: 0px;
    opacity: 1;
  }

  100% {
    width: 100px;
    height: 100px;
    opacity: 0;
  }
}


.lsonglist>li.active,
.rsonglist>li.active {
  background: #999;
}

.lsonglist,
.rsonglist {
  display: inline-block;
  width: 20vw;
  padding: 10px; 
  height: 60vh;
  border: 1px solid #D43C33;
  border-radius: 4px;
  background: #ffffff;
}

div.list-wrap>.right {
  margin-left: 30px;
}

div.list-wrap{
  display: flex;
  padding: 20px;
}

div.list-wrap>.left,
div.list-wrap>.right {
  display: flex;
  padding: 0 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.btn-b {
  margin-top: 11px; 
  width: 90px;
  border: 1px solid transparent;
  outline: none; 
  border-radius: 2px;
  padding:4px 8px;
  color: #ffffff; 
}

#add {
  background-color: #337AB7;
}

#remove {
  background-color: #D73B3B;
}




section.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #D43C33;
  padding: 17px 10px;
}

section.topbar .logo > svg {
  width: 142px;
  height: 25px;
  vertical-align: top;
}